/**
 * Created by dong on 16/2/19.
 */

'use strict';

export var constCommon  ={
    systemCode:"x-site", //魔方建站系统标识
    envCode:{
        PROD:'prod',
        GRAY:'gray',
        TEST:'test',
        DEV:'dev',
    },
    ossPath: { //阿里云路径
        userRootDir:"/x-site/${env}/${systemCode}/${userId}/",
        globalSetupCo:"/x-site/${env}/${systemCode}/${userId}/sites/globalSetup.co",
        pageConfigOrder:"/x-site/${env}/${systemCode}/${userId}/sites/${platForm}/default/${pageCode}.co",
        pageHtml:"/x-site/${env}/${systemCode}/${userId}/view/${platForm}/${pageCode}/${pageCode}.html",
        other: {
            goodsInfoRelFileUrl:"/x-site/${env}/${systemCode}/${userId}/view/${platForm}/${pageCode}/${pageCode}.json",
            weixinCustomPageInfo:"/x-site/${env}/${systemCode}/${userId}/view/${platForm}/customPageInfo.json"
        },
        page: {
            pcPageUrl:"/x-site/${env}/${systemCode}/${userId}/view/pc/${pageCode}/${pageCode}.html",
            wxPageUrl:"/x-site/${env}/${systemCode}/${userId}/view/weixin/${pageCode}/${pageCode}.html",
            wxDefinitionLvPageUrl:"/x-site/${env}/${systemCode}/${userId}/view/weixin/${pageType}/${definitionLv}/${pageCode}.html",
            definitionLvPageUrl:"/x-site/${env}/${systemCode}/${userId}/view/${platForm}/${pageType}/${definitionLv}/${pageCode}.html",
            pcDefaultPageUrl:"/x-site/${env}/public/temp-preview/${templateCode}/${pageCode}.html",
            wxDefaultPageUrl:"/x-site/${env}/public/temp-preview/weixin/${pageCode}.html",
        },
        configOrder: {
            pcPageConfigOrderUrl:"/x-site/${env}/${systemCode}/${userId}/sites/pc/default/${pageCode}.co"
        },
    }
}